package com.lechi.iot.android.channel;

import com.lechi.iot.android.device.IotTcpControlCentre;
import com.lechi.iot.android.service.MappingsImpl;

import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 管道组
 *
 * @author yangguang
 */
public class IotTcpChannelGroup extends MappingsImpl<IIotTcpChannel> implements IotTcpControlCentre {

    public IotTcpChannelGroup() {
        super(new ConcurrentHashMap<>());
    }

    @Override
    public List<IIotTcpChannel> groups() {
        return list();
    }
}
